interface IPerson{
  readonly id:number,
  name:string,
  age:number,
  sex?:string
}

class Person implements IPerson {
  id = 1
  name = '123'
  age:12
}
const person = new Person()
